<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" src="/static/js/vanilla-tilt.js"></script>
    <style>
        .item{
            border:1px solid black;
            width:100px;
            height:100px;
            transform: perspective(1000px);
            transform-style: preserve-3d;
        }
        .item .out{
            transform:translateZ(100px);
        }
    </style>
</head>
<body>
<div>
    <div class="item">
        <div class="out">13442143143</div>
        <div>13442143143</div>
    </div>
</div>
</body>
<script type="text/javascript">
    VanillaTilt.init(document.querySelectorAll(".item"),{
        max:25,
        speed:40,
    });
</script>
</html>